package com.workcell.workdata.xthings.service;

import com.github.pagehelper.PageInfo;
import com.workcell.workdata.xthings.dto.ManufacturerDto;
import com.workcell.workdata.xthings.dto.ManufacturerVo;
import com.workcell.workdata.xthings.dto.PageVo;
import com.workcell.workdata.xthings.entity.Manufacturer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Admin
* @description 针对表【t_manufacturer(厂商表)】的数据库操作Service
* @createDate 2023-05-15 14:10:25
*/
public interface ManufacturerService extends IService<Manufacturer> {

    List<ManufacturerDto> manufacturerList(ManufacturerVo manufacturerVo);

    PageInfo<ManufacturerDto> manufacturerPage(PageVo pageVo, ManufacturerVo manufacturerVo);

    Manufacturer selectByManufacturerCode(String manufacturerCode);

    boolean insert(ManufacturerVo manufacturerVo);

    boolean delete(String manufacturerCode);

    List<Manufacturer> selectList(ManufacturerVo manufacturerVo);
}
